<script type="text/html" template>
  <link rel="stylesheet" href="{{ layui.setter.base }}style/login.css?v={{ layui.admin.v }}-1" media="all">
</script>


<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login"
  style="display: none; background-image: url(?act=getBackground);">
  <div class="layadmin-user-login-main" bgimg>
    <div class="layadmin-user-login-box layadmin-user-login-header">
      <h2>用户注册</h2>
      <p>一站式账户聚合登录系统</p>
    </div>
    <form class="layadmin-user-login-box layadmin-user-login-body layui-form" lay-filter="reg_form">
      <div class="layui-form-item">
        <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="admin-login-username"></label>
        <input type="text" name="user" id="admin-reg-username" lay-verify="required|user" placeholder="用户名"
          class="layui-input">
      </div>
      <div class="layui-form-item">
        <label class="layadmin-user-login-icon layui-icon layui-icon-email" for="LAY-user-reg-mail"></label>
        <input type="text" name="mail" id="LAY-user-reg-mail" lay-verify="required|email" placeholder="邮箱"
          class="layui-input">
      </div>
      <div class="layui-form-item">
        <div class="layui-row">
          <div class="layui-col-xs7">
            <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="LAY-user-login-vercode"></label>
            <input type="number" name="vercode" id="LAY-user-login-vercode" lay-verify="required|regcaptcha"
              autocomplete="off" placeholder="验证码" class="layui-input">
          </div>
          <div class="layui-col-xs5">
            <div style="margin-left: 10px;">
              <button type="button" class="layui-btn layui-btn-primary layui-btn-fluid"
                id="LAY-user-reg-getsmscode">获取验证码</button>
            </div>
          </div>
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="LAY-user-login-password"></label>
        <input type="password" name="password" id="LAY-user-login-password" lay-verify="required|pass" placeholder="密码"
          class="layui-input">
      </div>
      <div class="layui-form-item">
        <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="LAY-user-login-repass"></label>
        <input type="password" name="repass" id="LAY-user-login-repass" lay-verify="required" placeholder="确认密码"
          class="layui-input">
      </div>
      <div class="layui-form-item">

        <div class="layui-row">
          <div class="layui-col-xs4" style="padding-left:10px;">
            <input type="checkbox" name="agreement" lay-skin="primary" title="阅读并同意">
          </div>
          <div class="layui-col-xs8">
            <div class="layui-text" style="padding-top:8px;"><a
                href="http://auth.fafads.cn/assets/privacy/privacy.html">用户服务协议</a>和<a
                href="http://auth.fafads.cn/assets/privacy/agreement.html">用户隐私政策</a></div>
          </div>

        </div>
      </div>
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-default layui-btn-fluid" lay-submit lay-filter="LAY-user-reg-submit">注
          册</button>
      </div>
      <div class="layui-trans layui-form-item layadmin-user-login-other">

        <a lay-href="/user/login" class="layadmin-user-jump-change button-click">用已有帐号登入</a>
      </div>
    </form>
  </div>

  <div class="layui-trans layadmin-user-login-footer">
    <script type="text/html" template>
      <span><a style="color: #ffffff;"
          href="../">{{ layui.data(layui.setter.tableName).web_name || '聚合快捷登录中转API' }}</a></span>
      <span><a style="color: #ffffff;" href="{{ layui.data(layui.setter.tableName).author }}"
          target="_blank">联系客服</a></span>
    </script>
  </div>

</div>

<script>
  layui.use('reg', layui.factory('reg'));
</script>